package com.fifth.commodity.feign;

import com.fifth.common.pojo.entity.BusinessInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ProjectName: mrcai
 * @Package: com.fifth.commodity.feign
 * @ClassName: BusinessFeign
 * @Author: 王振华
 * @Description:
 * @Date: 2022/9/19 21:17
 * @Version: 1.0
 */
@FeignClient(value = "mrcai-business")
public interface BusinessFeign {
    /**
     * 根据bid查询店铺信息
     * @param bid
     * @return
     */
    @GetMapping("/api/business/selectmarchant/{bid}")
    public BusinessInfo selectmarchant(@PathVariable String bid);

}
